import { EventEmitter } from '@angular/core';

export let exportRefreshTable = new EventEmitter<any>();    // 标引导出刷新列表
export let product = {
    pagination: {
        total: 0,
        pageNumber: 1,
        pageSize: 20,
        naturalNum: 0
    },
    retrieval: {
        token: 'b25dbd7138cf48e09941087e6d9a2e93',
        id: '',
        queryCriteria: '',
        checkStatus: '',
        createBy: 'admin',
        taskType: '0'           //0产品,1内文
    }
}

export let content = {
    pagination: {
        total: 0,
        pageNo: 1,
        pageSize: 20,
        naturalNum: 0
    },
    retrieval: {
        token: 'b25dbd7138cf48e09941087e6d9a2e93',
        productId: '',
        id: '',
        dataSource: '发布平台',
        categoryId: '',
        productType: 0,//类型，0=产品，1=内文
        name: '',
        barcode: '',
        author: '',
        publisher: '',
        startTime: '',
        endTime: '',
        queryCriteria: '',
        createBy: 'admin',
        fileFormat: 'epub',
        filePath: 'http://192.168.0.200/product/a2aacf7edbb204d4f9f34189f251cde5.epub',
        queryType: 1,
        projectId: '',
    }
}

export let checktask = {
    pagination: {
        total: 0,
        pageNo: 1,
        pageSize: 20,
        naturalNum: 0
    },
    retrieval: {
        token: 'b25dbd7138cf48e09941087e6d9a2e93',
        id: '',
        queryCriteria: '',
        checkStatus: ''
    }
}

export let template = {
    pagination: {
        total: 0,
        pageNo: 1,
        pageSize: 20,
        naturalNum: 0
    },
    retrieval: {
        token: 'b25dbd7138cf48e09941087e6d9a2e93',
        id: '',
        queryCriteria: '',
        status: '',
        startTime: '',
        endTime: ''
    }
}
export let template_attribute = {
    pagination: {
        total: 0,
        pageNo: 1,
        pageSize: 20,
        naturalNum: 0
    },
    retrieval: {
        token: 'b25dbd7138cf48e09941087e6d9a2e93',
        id: '',
        templateId:'',
        templateName:'',
        queryCriteria: '',
        status: '',
        startTime: '',
        endTime: ''
    }
}
